package com.github.wendao76.base;

import java.util.Arrays;
import java.util.List;

/**
 * <p>
 * 类描述信息
 * </p>
 *
 * @author wendao76
 * @version 1.0
 * @since 2021-12-20
 */
public class TestCircle {
  public static void main(String[] args) {
    //
    System.out.println(getResult(5));
  }

  public static boolean getResult(int in){
    List<Integer> intList = Arrays.asList(1,2,4,6,7,5,3,2);
    return intList.stream().anyMatch((i)-> {return in==i;});
  }
}
